<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1, minimum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品分类</title>
    <link rel="shortcut icon" href="images/favicon.ico">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/module.css">
    <link rel="stylesheet" href="css/category.css">
</head>

<body>
    <!-- <div class="mmm"> -->
        <!-- 顶部部分开始 -->
        <header>
            <a href="index.html" class="mm_logo">慢慢买</a>
            <a href="javascript:;" class="mm_app"></a>
        </header>
        <!-- 顶部部分结束 -->

        <!-- 搜索部分开始 -->
        <div class="search">
            <input type="search" placeholder="请输入你想比价的商品">
            <button>搜索</button>
        </div>
        <!-- 搜索部分结束 -->

        <!-- 商品分类开始 -->
        <div class="comm">
           <ul class="comm_ul">
              
           </ul>
        </div>
        <!-- 商品分类结束 -->


        <!-- 底部部分开始 -->
        <footer>
            <div class="foot_user">
                <a href="./login.html" class="foot_login">登录</a>
                <a href="./register.html" class="foot_register">注册</a>
                <a href="#top" class="foot_return">
                    <i class="iconfont">&#xe648;</i>
                    返回顶部
                </a>
            </div>
            <div class="foot_text">
                <div class="text_box">
                    <span class="text_sp">手机APP下载</span>
                    <span class="text_sp">慢慢买手机版</span>
                    <span class="text_sp">--掌上比价平台</span>
                </div>
                <p>m.manmanbuy.com</p>
            </div>
        </footer>
        <!-- 底部部分结束 -->
    <!-- </div> -->
</body>

</html>
<script src="jq/src/zepto.js"></script>
<script src="jq/src/event.js"></script>
<script src="jq/src/touch.js"></script>
<script src="jq/src/ajax.js"></script>
<script src="js/category.js"></script>
<script src="jq/template-web.js"></script>
<!-- 商品分类渲染模版 -->
<script type="text/template" id="catTemp">
    {{each itme value index}}
    <li class="comm_li">
            <div class="comm_tit">
                <input type="hidden" value="{{value.titleId}}">
                <span class="comm_tit_txt">{{value.title}}</span>
                <i class="iconfont">&#xe72c;</i>
            </div>
            <article class="comm_cont hide">
                 
            </article>
        </li>
    {{/each}}
</script>
   <!-- 商品分类列表 渲染模版 -->
<script type="text/template" id="lisTemp">
    {{each itme value index}}
        <a href="goodsList.html?categoryid={{value.categoryId}}">{{value.category}}</a>
    {{/each}}
</script>
